/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: app2022 - ForIn2
 * <p>Powered by webrx On 2022-01-08 10:45:14
 *
* @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class ForIn2 {
    public static void main(String[] args) {
        //for in 循环语句 for(char c : 数组，集合)
        for (char c : "Hello中国人".toCharArray()) {
            System.out.println(c);
        }
    }
}
